from view.base import Panel, Table
from model import Key


class KeyTable(Table):
    model = Key
    display_columns = ["id", "username", "email"]


class KeyPanel(Panel):
    display_name = "Key"
    url = "/key"
    table = KeyTable